package com.sefon.smarteconomy.domain;


import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Lob;
import javax.persistence.Table;
import javax.persistence.Id;
 
/**
 * 
 * Copyright: Copyright (c) 2018 SefonSoft 
 * 
 * @ClassName: User.java 
 * @Description:缓存表
 * 
 * @version: v1.0.0
 * @author: SF2170
 * @by AnalysisExcel2File.java
 * @Date 2018/03/26 22:07:28
 * 
 */
@Entity
@Table(name="cache_t")
public class CacheT {

	/**
	* UUID
	*/
	@Id 
	@Column(name="`id`", length=64, columnDefinition="varchar(64) COMMENT '采用uuid，方便管理'")
	private String id;

	/**
	* 1.可和基本数据2.客户交易特征3.客户偏好数据4.产品渠道数据 （基础表中200-299）
	*/
	@Column(name="`first_title`", length=255, columnDefinition="varchar(255) COMMENT '一级菜单'")
	private String firstTitle;

	/**
	* 性别，资产登录，忠诚度等级。。。。（基础表中使用20000-29999管理）
	*/
	@Column(name="`second_title`", length=255, columnDefinition="varchar(255) COMMENT '二级菜单'")
	private String secondTitle;

	/**
	* 存储查询sql（字段长度：2000）
	*/
	@Column(name="`condition`", length=2000, columnDefinition="varchar(2000) COMMENT '条件'")
	private String condition;

	/**
	* json格式存放 ，用于图标展示
	*/
	@Lob  
	@Column(name="`data`", columnDefinition="text COMMENT '缓存数据'")
	private String data;

	@Column(name="`desc`", length=255, columnDefinition="varchar(255) COMMENT '描述 '")
	private String desc;


	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getFirstTitle() {
		return firstTitle;
	}

	public void setFirstTitle(String firstTitle) {
		this.firstTitle = firstTitle;
	}

	public String getSecondTitle() {
		return secondTitle;
	}

	public void setSecondTitle(String secondTitle) {
		this.secondTitle = secondTitle;
	}

	public String getCondition() {
		return condition;
	}

	public void setCondition(String condition) {
		this.condition = condition;
	}

	public String getData() {
		return data;
	}

	public void setData(String data) {
		this.data = data;
	}

	public String getDesc() {
		return desc;
	}

	public void setDesc(String desc) {
		this.desc = desc;
	}

}
